/**
 * 实名认证审核
 *
 */

import request from "@/utils/request";

const BASE_URL = "/api/v1";

/**
 *  实名认证审核-列表
 */
export function getRealNameList(queryParams: any) {
  return request<any, any>({
    url: `${BASE_URL}/user/getRealNamePage`,
    method: "post",
    data: queryParams,
  });
}

/**
 * 房屋认证审核-审核
 */
export function auditRealName(data: { id: number; status: number }) {
  return request<any, any>({
    url: `${BASE_URL}/user/auditRealName`,
    method: "post",
    data: data,
  });
}
